package cn.jsj.hzu.qm.facecloud.ciuser.pojo;

import java.util.Objects;

/**
 * 签到表的实体类
 * */
public class Cici {
	//+##################################//
	private int id;
	private int labid;
	private int userid;
	/**
	 * 签到时间
	 * */
	private String ciin;
	
	/**
	 * 签退时间，为空则为没有签退
	 * */
	private String ciout;
	
	/**
	 * 签到理由
	 * */
	private String ciinfo;
	
	/**
	 * 签到ip(仅供参考)
	 * */
	private String ciip;
	//-##################################//

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getLabid() {
		return labid;
	}

	public void setLabid(int labid) {
		this.labid = labid;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public String getCiin() {
		return ciin;
	}

	public void setCiin(String ciin) {
		this.ciin = ciin;
	}

	public String getCiout() {
		return ciout;
	}

	public void setCiout(String ciout) {
		this.ciout = ciout;
	}

	public String getCiinfo() {
		return ciinfo;
	}

	public void setCiinfo(String ciinfo) {
		this.ciinfo = ciinfo;
	}

	public String getCiip() {
		return ciip;
	}

	public void setCiip(String ciip) {
		this.ciip = ciip;
	}

	@Override
	public int hashCode() {
		return Objects.hash(ciin, ciinfo, ciip, ciout, id, labid, userid);
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Cici other = (Cici) obj;
		return Objects.equals(ciin, other.ciin) && Objects.equals(ciinfo, other.ciinfo)
				&& Objects.equals(ciip, other.ciip) && Objects.equals(ciout, other.ciout) && id == other.id
				&& labid == other.labid && userid == other.userid;
	}

	@Override
	public String toString() {
		return "Cici [id=" + id + ", labid=" + labid + ", userid=" + userid + ", ciin=" + ciin + ", ciout=" + ciout
				+ ", ciinfo=" + ciinfo + ", ciip=" + ciip + "]";
	}

	public Cici(int id, int labid, int userid, String ciin, String ciout, String ciinfo, String ciip) {
		super();
		this.id = id;
		this.labid = labid;
		this.userid = userid;
		this.ciin = ciin;
		this.ciout = ciout;
		this.ciinfo = ciinfo;
		this.ciip = ciip;
	}

	public Cici() {
		super();
	}
	
	
	
	
	
}
